(function webpackUniversalModuleDefinition(root, factory) {
	if(typeof exports === 'object' && typeof module === 'object')
		module.exports = factory(require("react"));
	else if(typeof define === 'function' && define.amd)
		define(["react"], factory);
	else if(typeof exports === 'object')
		exports["CreatDialog"] = factory(require("react"));
	else
		root["CreatDialog"] = factory(root["react"]);
})(window, function(__WEBPACK_EXTERNAL_MODULE_react__) {
return /******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = "./src/components/CreatDialog/index.tsx");
/******/ })
/************************************************************************/
/******/ ({

/***/ "./src/components/CreatDialog/index.scss":
/*!***********************************************!*\
  !*** ./src/components/CreatDialog/index.scss ***!
  \***********************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://%5Bname%5D/./src/components/CreatDialog/index.scss?");

/***/ }),

/***/ "./src/components/CreatDialog/index.tsx":
/*!**********************************************!*\
  !*** ./src/components/CreatDialog/index.tsx ***!
  \**********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  Object.defineProperty(o, k2, {\n    enumerable: true,\n    get: function get() {\n      return m[k];\n    }\n  });\n} : function (o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  o[k2] = m[k];\n});\n\nvar __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function (o, v) {\n  Object.defineProperty(o, \"default\", {\n    enumerable: true,\n    value: v\n  });\n} : function (o, v) {\n  o[\"default\"] = v;\n});\n\nvar __importStar = this && this.__importStar || function (mod) {\n  if (mod && mod.__esModule) return mod;\n  var result = {};\n  if (mod != null) for (var k in mod) {\n    if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n  }\n\n  __setModuleDefault(result, mod);\n\n  return result;\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar react_1 = __importStar(__webpack_require__(/*! react */ \"react\"));\n\n__webpack_require__(/*! ./index.scss */ \"./src/components/CreatDialog/index.scss\");\n\n;\nvar CreatDialog = (0, react_1.forwardRef)(function (props, ref) {\n  var _props$destory = props.destory,\n      _destory = _props$destory === void 0 ? function () {} : _props$destory,\n      renderDom = props.renderDom,\n      title = props.title,\n      _props$confirmText = props.confirmText,\n      confirmText = _props$confirmText === void 0 ? '确认' : _props$confirmText,\n      _props$cancelText = props.cancelText,\n      cancelText = _props$cancelText === void 0 ? '取消' : _props$cancelText,\n      _props$confirmCallbac = props.confirmCallback,\n      confirmCallback = _props$confirmCallbac === void 0 ? function () {} : _props$confirmCallbac,\n      _props$cancelCallback = props.cancelCallback,\n      cancelCallback = _props$cancelCallback === void 0 ? function () {} : _props$cancelCallback;\n\n  var cancel = function cancel() {\n    props.destory && props.destory();\n    cancelCallback();\n  };\n\n  var newDom = function newDom() {\n    return renderDom();\n  };\n\n  var confirm = function confirm() {\n    props.destory && props.destory();\n    confirmCallback();\n  };\n\n  (0, react_1.useImperativeHandle)(ref, function () {\n    return {\n      destory: function destory() {\n        _destory();\n      }\n    };\n  });\n  return react_1.default.createElement(\"div\", {\n    className: \"pop_box\"\n  }, react_1.default.createElement(\"div\", {\n    className: \"contain_box\"\n  }, react_1.default.createElement(\"div\", {\n    className: \"title\"\n  }, react_1.default.createElement(\"div\", {\n    className: \"title_text\"\n  }, title), react_1.default.createElement(\"div\", {\n    className: \"close_btn\",\n    onClick: function onClick() {\n      return cancel();\n    }\n  })), react_1.default.createElement(\"div\", {\n    className: \"render_content\"\n  }, newDom()), react_1.default.createElement(\"div\", {\n    className: \"btn_box\"\n  }, react_1.default.createElement(\"div\", {\n    className: \"delete\",\n    onClick: function onClick() {\n      confirm();\n    }\n  }, confirmText), react_1.default.createElement(\"div\", {\n    className: \"cancel\",\n    onClick: function onClick() {\n      cancel();\n    }\n  }, cancelText))));\n});\nexports.default = CreatDialog;\n\n//# sourceURL=webpack://%5Bname%5D/./src/components/CreatDialog/index.tsx?");

/***/ }),

/***/ "react":
/*!************************!*\
  !*** external "react" ***!
  \************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("module.exports = __WEBPACK_EXTERNAL_MODULE_react__;\n\n//# sourceURL=webpack://%5Bname%5D/external_%22react%22?");

/***/ })

/******/ });
});